package com.neusoft.demo3.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("sys_order")
public class SysOrder {
    @TableId(type = IdType.AUTO) // 添加这个注解
    private Integer id;
    private String orderNo;
    private Timestamp creatTime;
    private Integer userId;
    private  float total;
    private String goodsInfo;
}
